import QtQuick
import QtQuick.Controls
import QtQuick.Layouts

Window {
    width: 640
    height: 480
    visible: true
    title: qsTr("Hello World")

    SplitView {
        anchors.fill: parent
        handle: Rectangle {
            implicitWidth: 4
            color: "green"
            MouseArea {
                anchors.fill: parent
                cursorShape: Qt.SizeHorCursor
            }
        }

        Rectangle {
            implicitWidth: 200
        }
        Rectangle {
            SplitView.fillWidth: true
        }
        Rectangle {
            implicitWidth: 200
        }
    }
}
